package com.ruoyi.workflow.common.constant;

import java.net.URI;

/**
 * @描述
 * @版本 v2
 * @作者 wangxuqing
 * @日期 2023-07-26 10:41
 */
public interface FaceConstant {
    int MIN_IMAGE_WIDTH = 48;
    int MIN_IMAGE_HEIGHT = 48;
    int MAX_IMAGE_WIDTH = 4096;
    int MAX_IMAGE_HEIGHT = 4096;
    int MAX_IMAGE_SIZE = 2 * 1024 * 1024; // 2MB
    String API_KEY = "OmY2g4IcQGq-J74lKyfHKxJ0mwPMY8T-";
    String API_SECRET = "QlMkLAHAQtE7ZyQoqwPQ19hO4vmcQnhU";
    String CREATE_FACE_SET_URL = "https://api-cn.faceplusplus.com/facepp/v3/faceset/create";
    String GET_FACE_SETS_URL = "https://api-cn.faceplusplus.com/facepp/v3/faceset/getfacesets";
    String DELETE_FACE_SET_URL = "https://api-cn.faceplusplus.com/facepp/v3/faceset/delete";
    String GET_DETAIL_OF_FACE_SET_URL = "https://api-cn.faceplusplus.com/facepp/v3/faceset/getdetail";
    String FACE_DETECT_URL = "https://api-cn.faceplusplus.com/facepp/v3/detect";
    String ADD_FACE_URL = "https://api-cn.faceplusplus.com/facepp/v3/faceset/addface";
    String SET_USER_ID_URL = "https://api-cn.faceplusplus.com/facepp/v3/face/setuserid";
    String FACE_SEARCH_URL = "https://api-cn.faceplusplus.com/facepp/v3/search";
    String REMOVE_FACE_URL = "https://api-cn.faceplusplus.com/facepp/v3/faceset/removeface";
}
